Skip to content

Reapply Active Filters when Opening Music Library#1548

Open
Dansla116 wants to merge 2 commits into
YARC-Official:devfrom
Dansla116:dev
Open

Reapply Active Filters when Opening Music Library#1548
Dansla116 wants to merge 2 commits into
YARC-Official:devfrom
Dansla116:dev

Conversation

@Dansla116

@Dansla116 Dansla116 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

When profiles or instruments changed, Music Library could show songs that no longer matched the previous Filters menu state. The Filters menu still showed the selections as active, but the library list was rebuilt without applying them.

Previously, active filters were refreshed from profile-change handling, which covered returning from Difficulty Select but missed other Music Library entry paths like Score Results. This updates Music Library to rebuild the active filter predicate in MusicLibraryMenu.OnEnable() before refreshing the song list, so saved filters are consistently reapplied whenever the library opens.

This fixes: https://discord.com/channels/1086048856678084609/1514015970740666429

Potential Feedback Item:
I removed re-applying the filters from PlayerContainer.ActiveProfilesChanged() because I couldn't find a way to change profiles/instruments without then triggering MusicLibraryMenu.OnEnable() so it seemed redundant. Let me know if I missed something. Otherwise, this might still need to be added back with upcoming profile/controller "Overshell" changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant